package cn.tedu.easybuy.entity;

import java.util.Date;

/**
 * 订单类
 * Created by UID on 2018/8/22.
 */
public class Order {
    /**
     * 订单号
     */
    private Integer eoId;
    /**
     * 用户编号
     */
    private String eoUserId;
    /**
     * 用户名
     */
    private String eoUserName;
    /**
     * 订单地址
     */
    private String eoUserAddress;
    /**
     * 订单时间
     */
    private Date eoCreateTime;
    /**
     * 订单费用
     */
    private Float eoCost;
    /**
     * 订单状态
     */
    private Integer eoStatus;
    /**
     * 订单类型
     */
    private Integer eoType;


    public Order() {
    }

    public Order(Integer eoId, String eoUserId, String eoUserName, String eoUserAddress, Date eoCreateTime, Float eoCost, Integer eoStatus, Integer eoType) {
        this.eoId = eoId;
        this.eoUserId = eoUserId;
        this.eoUserName = eoUserName;
        this.eoUserAddress = eoUserAddress;
        this.eoCreateTime = eoCreateTime;
        this.eoCost = eoCost;
        this.eoStatus = eoStatus;
        this.eoType = eoType;
    }


    public Integer getEoId() {
        return eoId;
    }

    public void setEoId(Integer eoId) {
        this.eoId = eoId;
    }

    public String getEoUserId() {
        return eoUserId;
    }

    public void setEoUserId(String eoUserId) {
        this.eoUserId = eoUserId;
    }

    public String getEoUserName() {
        return eoUserName;
    }

    public void setEoUserName(String eoUserName) {
        this.eoUserName = eoUserName;
    }

    public String getEoUserAddress() {
        return eoUserAddress;
    }

    public void setEoUserAddress(String eoUserAddress) {
        this.eoUserAddress = eoUserAddress;
    }

    public Date getEoCreateTime() {
        return eoCreateTime;
    }

    public void setEoCreateTime(Date eoCreateTime) {
        this.eoCreateTime = eoCreateTime;
    }

    public Float getEoCost() {
        return eoCost;
    }

    public void setEoCost(Float eoCost) {
        this.eoCost = eoCost;
    }

    public Integer getEoStatus() {
        return eoStatus;
    }

    public void setEoStatus(Integer eoStatus) {
        this.eoStatus = eoStatus;
    }

    public Integer getEoType() {
        return eoType;
    }

    public void setEoType(Integer eoType) {
        this.eoType = eoType;
    }


    @Override
    public String toString() {
        return "Order{" +
                "eoId=" + eoId +
                ", eoUserId='" + eoUserId + '\'' +
                ", eoUserName='" + eoUserName + '\'' +
                ", eoUserAddress='" + eoUserAddress + '\'' +
                ", eoCreateTime=" + eoCreateTime +
                ", eoCost=" + eoCost +
                ", eoStatus=" + eoStatus +
                ", eoType=" + eoType +
                '}';
    }
}
